<?php if (!defined('THINK_PATH')) exit(); /*a:6:{s:64:"/home/xlosycom/public_html/application/index/view/xl/detail.html";i:1523716396;s:70:"/home/xlosycom/public_html/application/index/view/index/head_meta.html";i:1523930539;s:70:"/home/xlosycom/public_html/application/index/view/index/head_link.html";i:1523885480;s:72:"/home/xlosycom/public_html/application/index/view/index/head_script.html";i:1523888906;s:65:"/home/xlosycom/public_html/application/index/view/index/head.html";i:1523929342;s:67:"/home/xlosycom/public_html/application/index/view/index/footer.html";i:1521898158;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <base href="<?php echo BASE_PATH; ?>">
    <title><?php echo $film['name']; ?>-<?php echo $film['subClassName']; ?>-<?php echo $film['typeName']; ?>-<?php echo \think\Config::get('siteName'); ?></title>
    <!--引入头部meta文件 -->
    <meta name="pragma" content="no-cache">
<meta name="cache-control" content="no-cache">
<meta name="expires" content="0">
<meta name="keywords" content="<?php echo \think\Config::get('keywords'); ?>">
<meta name="description" content="<?php echo \think\Config::get('description'); ?>">
<meta http-equiv="Content-Type" content="<?php echo \think\Config::get('Content_Type'); ?>" />
<meta name="robots" content="<?php echo \think\Config::get('robots'); ?>">
<meta name="windows-Target" content="<?php echo \think\Config::get('windows_Target'); ?>">
<meta name="author" content="<?php echo \think\Config::get('author'); ?>">
<meta http-equiv="Content-Language" content="<?php echo \think\Config::get('content_language'); ?>"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!--引入头部link(css)文件 -->
    <link rel="shortcut icon" href="<?php echo \think\Config::get('page_icon'); ?>">
<link rel="stylesheet" href="public/static/css/base.css?v=<?php echo NOW_TIME; ?>"/>
<link rel="stylesheet" href="public/static/plugs/topNav/css/head.css?v=<?php echo NOW_TIME; ?>" />
<link rel="stylesheet" type="text/css" href="public/static/plugs/bootstrap3.3.7/css/bootstrap.css?v=<?php echo NOW_TIME; ?>">
    <!--引入头部script文件 -->
    <script src="public/static/js/jquery-2.0.0.min.js" type="text/javascript" charset="UTF-8" ></script>
<script src="public/static/js/base/base.js" type="text/javascript" charset="UTF-8" ></script>
<script src="public/static/plugs/bootstrap3.3.7/js/bootstrap.js" type="text/javascript" charset="UTF-8" ></script>
<script type="text/javascript" src="public/static/js/jquery.lazyload.min.js"></script>
<!--IE8只能支持jQuery1.9-->
<!--[if lte IE 8]>
<script src="http://cdn.bootcss.com/jquery/1.9.0/jquery.min.js"></script>
<!-->



    <!--=====================JS_Link===========================-->
    <script src="public/static/js/download/base64.js"></script>
    <script>var sitePath = ''</script>

    <!--评分插件-->
    <script src="public/static/js/detail/jquery.raty.min.js" type="text/javascript"></script>

    <!--css文件-->
    <link href="public/static/css/index/xl/detail.css?v=<?php echo NOW_TIME; ?>" type="text/css" rel="stylesheet" />

    <script type="text/javascript">
        window.prourl = "<?php echo BASE_PATH; ?>";
        window.filmId = "<?php echo $film['id']; ?>";
        window.filmSrc = Base64.decode("<?php echo $src; ?>");
    </script>

</head>
<body>
    <!--引入头部html文件 -->
    <div style="width: 100%;height: auto;overflow:hidden;">
    <!-- 头部begin -->
    <div class="global-nav">
        <div class="container">
            <!--收藏关注start-->
            <ul class="global-nav-left">
                <li><b></b><a href="javascript:;" onclick="alert('请点击Ctrl+D收藏')">收藏网站</a></li>
                <li>
                    欢迎来到<?php echo \think\Config::get('siteName'); ?>最新影片资源
                </li>
            </ul>

            <!--收藏关注end-->
            <div class="global-nav-right" >
                <?php if(\think\Session::get('uid.user_name')!='' and \think\Session::get('uid.user_name')!=null): if(\think\Session::get('uid.isVip')==1): ?>
                        <a class="global-nav-right_a"  data-toggle='tooltip' data-placement="bottom" title="<?php echo substr(\think\Session::get('uid.expire_time'),0,11); ?>到期"><?php echo \think\Session::get('uid.user_name'); ?></a>
                        <a class="global-nav-right_a">|</a>
                        <a class="global-nav-right_a" href="https://w.url.cn/s/A5msWtt" target="_blank">加点油</a>
                        <a class="global-nav-right_a">|</a>
                        <a class="global-nav-right_a" onclick="fuelFilling()"  >使用加油卡</a>
                    <?php else: ?>
                        <a class="global-nav-right_a" data-toggle='tooltip' data-placement="bottom" title="你的车开到 <?php echo substr(\think\Session::get('uid.expire_time'),0,11); ?>没油了，请加油后继续上路！"><?php echo \think\Session::get('uid.user_name'); ?></a>
                    <?php endif; ?>
                    <a class="global-nav-right_a">|</a>
                    <a class="global-nav-right_a" id="globalLoginBtn_loginOut">退出</a>
                <?php else: ?>
                    <a class="global-nav-right_a globalLoginBtn">登录</a>
                    <a class="global-nav-right_a">|</a>
                    <a class="global-nav-right_a" id="globalLoginBtn_register_input" href="<?php echo url('admin/Verification/register_input'); ?>">注册</a>
                <?php endif; ?>

                <a class="global-nav-right_a" href="<?php echo url('index/index/note'); ?>">留言求片</a>
                <a class="global-nav-right_a" href="/">返回首页</a>
            </div>
        </div>
    </div>
    <!-- 头部end -->
    <!--搜索-->
    <div class="topNav-box" >
        <div class="topNav-box-center container">
            <a href="/">
                <!--图标-->
                <div class="topNav-box-center-left">
                    <div class="chrome">
                        <div class="chrome_part_color chrome_part_red"></div>
                        <div class="chrome_part_color chrome_part_yellow"></div>
                        <div class="chrome_part_color chrome_part_green"></div>
                        <div class="chrome_mask_color chrome_mask_red"></div>
                        <div class="chrome_mask_color chrome_mask_yellow"></div>
                        <div class="chrome_mask_color chrome_mask_green"></div>
                        <div class="chrome_part_color chrome_part_red2"></div>
                    </div>
                </div>
                <div class="zi">
                    <p class="h">胖哥影院</p>
                    <p class="y"><?php echo \think\Config::get('domain'); ?></p>
                </div>
                <!-- 代码部分end -->
                <!--图标-->
            </a>

            <!--搜索框-->
            <form action="<?php echo url('xl/index'); ?>" method="post">
                <!--代码部分begin-->
                <div class="lanren-search-form">

                    <div id="search-bd" class="search-bd">
                        <ul>
                            <li class="selected">影片名</li>
                            <li>演员名</li>
                        </ul>
                    </div>
                    <div id="search-hd" class="search-hd">
                        <div class="search-bg"></div>
                        <input type="text" id="s1" name="name"  autocomplete="off" value=""  class="search-input">
                        <input type="text" id="s2" name="actor" autocomplete="off" value="" class="search-input">
                        <span class="s1 pholder">请输入影片关键字</span>
                        <span class="s2 pholder">请输入演员关键字</span>
                        <input type="submit" id="submit" class="btn-search" value="搜索"/>
                    </div>

                </div>
                <!--代码部分end-->
            </form>

            <!--搜索框-->

        </div>

        <!-- 代码部分begin -->
        <div  style="width: 100%;height: auto;background: #00AFE4;    margin-top: -90px;">
            <div class="menu container">
                <ul>
                    <li><a href="/">首页</a></li>
                    <?php if(is_array($cataLogList) || $cataLogList instanceof \think\Collection || $cataLogList instanceof \think\Paginator): $i = 0; $__LIST__ = $cataLogList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                        <li><a href="<?php echo url('xl/index','cataLog_id='.$vo['id']); ?>"><?php echo $vo['name']; ?></a></li>
                    <?php endforeach; endif; else: echo "" ;endif; ?>
                </ul>
            </div>
        </div>
        <!-- 代码部分end -->
    </div>
    <!--搜索-->

    <!--登录 START-->
    <div class="modal fade" id="loginModal" style="display:none;">
        <div class="modal-dialog modal-sm" style="width:540px;">
            <div class="modal-content" style="border:none;">
                <div class="col-left"></div>
                <div class="col-right">
                    <div class="modal-header">
                        <button type="button" id="login_close" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title" id="loginModalLabel" style="font-size: 18px;">登录</h4>
                    </div>
                    <div class="modal-body">
                        <section class="box-login v5-input-txt" id="box-login">
                            <form id="login_form" action="" method="post" autocomplete="off">
                                <ul>
                                    <li class="form-group"><input class="form-control" id="id_account_l" maxlength="50" name="account_l" placeholder="请输入邮箱账号" type="text"></li>
                                    <li class="form-group"><input class="form-control" id="id_password_l" name="password_l" placeholder="请输入密码" type="password"></li>
                                </ul>
                            </form>
                            <p class="good-tips marginB10"><!--<a id="btnForgetpsw" class="fr">忘记密码？</a>-->还没有账号？<a href="<?php echo url('admin/Verification/register_input'); ?>" target="_blank" id="btnRegister">立即注册</a></p>
                            <div class="login-box marginB10">
                                <button id="login_btn" type="button" class="btn btn-micv5 btn-block globalLogin">登录</button>
                                <div id="login-form-tips" class="tips-error bg-danger" style="display: none;">错误提示</div>
                            </div>

                            <!--<div class="threeLogin"><span>其他方式登录</span><a class="nqq" href="javascript:;"></a><a class="nwx" href="javascript:;"></a>&lt;!&ndash;<a class="nwb"></a>&ndash;&gt;</div>-->
                        </section>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="public/static/plugs/loginModel/js/modal.js"></script>
    <script type="text/javascript" src="public/static/plugs/loginModel/js/script.js"></script>
    <link rel="stylesheet" type="text/css" href="public/static/plugs/loginModel/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="public/static/plugs/loginModel/css/index.css">
    <script>

        $(function () {
            /**登录*/
            $("#login_btn").click(function () {
                $.ajax({
                    url:"<?php echo url('admin/Verification/login'); ?>",
                    type:"POST",
                    dataType:"json",
                    data:$("#login_form").serialize(),
                    success:function (data) {
                        if(data.code=="1"){
                            location.reload();
                        }else{
                            alert("用户名或密码错误！");
                        }
                    }
                });
            });

            /**登出*/
            $("#globalLoginBtn_loginOut").click(function () {
                $.ajax({
                    url:"<?php echo url('admin/Verification/login_out'); ?>",
                    type:"POST",
                    dataType:"json",
                    success:function (data) {
                        if(data.code=="1"){
                            location.reload();
                        }else{
                            alert("登出失败！请稍后重试");
                        }
                    }
                });
            });

            $("[data-toggle='tooltip']").tooltip();
        });

        /**
         * 加油
         */
        function fuelFilling() {
           var vip_code =  prompt("请输入你的加油卡号：");
           if(vip_code!=''){
               $.ajax({
                   url:"<?php echo url('xl/vipCodeVerification'); ?>",
                   type:"POST",
                   dataType:"json",
                   data:{
                       vip_code:vip_code
                   },
                   success:function (data) {
                       if(data.code=="1"){
                           alert("加油成功，继续前行");
                           location.reload();
                       }else{
                           alert("加油失败！加油卡号不存在");
                       }
                   }
               });
           }else {
               alert("请输入你的加油卡号!")
           }
        }
    </script>
    <!--登录 END-->
</div>
    <div class="user-box  container">

        <!--头部信息-->
        <div class="model">
            <div class="info-left">
                <div class="view">
                    <div class="wz">
                        当前位置: <a href="/">首页</a>
                        &nbsp;&nbsp;»&nbsp;&nbsp;<a href="<?php echo url('xl/index','cataLog_id='.$film['cataLog_id']); ?>"><?php echo $film['cataLogName']; ?></a>
                        &nbsp;&nbsp;»&nbsp;&nbsp;<a href="<?php echo url('xl/index','subClass_id='.$film['subClass_id']); ?>"><?php echo $film['subClassName']; ?></a>
                        &nbsp;&nbsp;»&nbsp;&nbsp;<a
                            href="<?php echo url('xl/index','type_id='.$film['type_id']); ?>"><?php echo $film['typeName']; ?></a>
                        &nbsp;&nbsp;»&nbsp;&nbsp;<?php echo $film['name']; ?>
                    </div>
                    <div class="pic">
                        <img class="lazy"
                             data-original="<?php echo str_replace('static/upload','public/static/upload',$film['image']); ?>" src=""
                             alt="<?php echo $film['name']; ?>">
                        <p>
                            <a href="<?php echo url('xl/detail','film_id='.$film['id']); ?>#kan">立即播放</a>
                        </p>
                    </div>

                    <div class="info">
                        <h1><?php echo $film['name']; ?></h1>
                        <ul>
                            <li>
                                <span>上映年代：</span><?php echo $film['onDecade']; ?>&nbsp;&nbsp;
                                <span>状态：</span><?php echo $film['status']; ?>
                            </li>
                            <li>
                                <span>类型：</span>
                                <a href="<?php echo url('xl/index','type='.$film['type_id']); ?>" target="_blank"><?php echo $film['typeName']; ?></a>
                            </li>
                            <li>
                                <span>主演：</span>
                                <a href="javascript:;"><?php echo $film['actor']; ?></a>
                            </li>
                            <li>
                                <span>地区：</span><?php echo $film['locName']; ?>
                            </li>
                            <li>
                                <div class="fl">
                                    <span>更新日期：</span><?php echo $film['updateTime']; ?>&nbsp;&nbsp;
                                </div>
                                <a class="fr" href="<?php echo url('xl/detail','film_id='.$film['id']); ?>#pl"
                                   style="text-align:right;">
                                    <img class="lazy" data-original="public/static/img/filmDetail/90x22.gif" src=""
                                         alt="查看评论" width="90" height="22"/>
                                </a>
                            </li>
                        </ul>
                        <div class="textdesc">
                            <span>剧情：</span>
                            <?php echo substr($film['plot'],0, 100); ?>[<a href="<?php echo url('xl/detail','film_id='.$film['id']); ?>#desc">详细</a>]
                        </div>
                        <div class="pfen">
                            <p>影片评价</p>
                            <div id="star" data-score="<?php echo $film['plot']; ?>" data-number="10"></div>
                            <div class="fen" id="filmStarScoreTip">
                                    <span class="no c1" id="filmStarScore">
                                        <?php echo (explode('.',$film['evaluation'] )[0]); if(stripos($film['evaluation'],'.') !== false): ?>
                                            <i>.<?php echo $film['evaluation']; ?></i>
                                        <?php endif; ?>
                                    </span>
                                <?php if($film['evaluation']>=1&& $film['evaluation']<2): ?>很烂<?php endif; if($film['evaluation']>=2&& $film['evaluation']<4): ?>一般<?php endif; if($film['evaluation']>=4&& $film['evaluation']<6): ?>不妨一看<?php endif; if($film['evaluation']>=6&& $film['evaluation']<8): ?>比较精彩<?php endif; if($film['evaluation']>=8&& $film['evaluation']<=10): ?>棒极了<?php endif; ?>
                                (<?php echo $totalRatys; ?>评)

                                <!--分享-->
                                <div class="bdsharebuttonbox" style="float: right;">
                                    <a href="#" class="bds_more" data-cmd="more"></a>
                                    <a href="#" class="bds_qzone" data-cmd="qzone"></a>
                                    <a href="#" class="bds_tsina" data-cmd="tsina"></a>
                                    <a href="#" class="bds_tqq" data-cmd="tqq"></a>
                                    <a href="#" class="bds_renren" data-cmd="renren"></a>
                                    <a href="#" class="bds_weixin" data-cmd="weixin"></a>
                                </div>
                                <script>
                                    window._bd_share_config = {
                                        "common": {
                                            "bdSnsKey": {},
                                            "bdText": "",
                                            "bdMini": "2",
                                            "bdPic": "",
                                            "bdStyle": "0",
                                            "bdSize": "16"
                                        },
                                        "share": {},
                                        "image": {
                                            "viewList": ["qzone", "tsina", "tqq", "renren", "weixin"],
                                            "viewText": "分享到：",
                                            "viewSize": "16"
                                        },
                                        "selectShare": {
                                            "bdContainerClass": null,
                                            "bdSelectMiniList": ["qzone", "tsina", "tqq", "renren", "weixin"]
                                        }
                                    };
                                    with (document) 0[(getElementsByTagName('head')[0] || body).appendChild(createElement('script')).src = 'http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion=' + ~(-new Date() / 36e5)];
                                </script>
                                <!--分享-->
                            </div>
                        </div>
                    </div>
                    <?php if(is_array($resListDupan) || $resListDupan instanceof \think\Collection || $resListDupan instanceof \think\Paginator): $i = 0; $__LIST__ = $resListDupan;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$reslist): $mod = ($i % 2 );++$i;if($i['index'] == 0): ?>
                    <div class="updatetps clearfix">更新小提示：度盘：<?php echo $reslist['link']; ?> 密码：<?php echo $reslist['name']; ?></div>
                    <?php endif; endforeach; endif; else: echo "" ;endif; ?>
                </div>
                <div class="infoad">
                    <div class="skydrive"><p><span>友情提示：</span>欢迎大家使用网盘连接下载！</p>
                        <ul>
                            <?php if(is_array($resListDupan) || $resListDupan instanceof \think\Collection || $resListDupan instanceof \think\Paginator): $i = 0; $__LIST__ = $resListDupan;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$relist): $mod = ($i % 2 );++$i;?>
                            <li class="wbaidu"><a href="<?php echo $relist['link']; ?>" target="_blank">密码：<?php echo $relist['name']; ?></a></li>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                        </ul>
                    </div>
                </div>
            </div>
        </div>


        <div style="width: 100%;height: 20px;overflow: hidden;background:#F2F2F2;"></div>

        <div class="model">

            <div class="endpage clearfix">
                <!--======================猜你喜欢 START=============================== -->
                <div class="ulike">
                    <div class="title"><span>猜你喜欢</span></div>
                    <ul class="img-list imglist clearfix">
                        <?php if(is_array($films) || $films instanceof \think\Collection || $films instanceof \think\Paginator): $i = 0; $__LIST__ = $films;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
                        <li>
                            <a class="play-img" href="<?php echo url('xl/detail','film_id='.$list['id']); ?>" title="<?php echo $list['name']; ?>">
                                <img class="lazy"
                                     data-original="<?php echo str_replace('static/upload','public/static/upload',$list['image']); ?>"
                                     src="" alt="<?php echo $list['name']; ?>"/>
                                <i></i>
                                <em>
                                    <?php if($list['resolution'] == '1080'): ?>1280高清<?php endif; if($list['resolution'] != '1080'): ?><?php echo $list['resolution']; ?>P<?php endif; ?>
                                </em>
                            </a>
                            <h5>
                                <a href="<?php echo url('xl/detail','film_id='.$list['id']); ?>" title="<?php echo $list['name']; ?>"><?php echo $list['name']; ?></a>
                            </h5>
                        </li>
                        <?php endforeach; endif; else: echo "" ;endif; ?>
                    </ul>
                </div>
                <!--======================猜你喜欢 END=============================== -->
                <a id="kan"></a>
                <!--在线播放 START-->
                <?php if(count($resListFlh)!=0): ?>
                    <div class="online">
                        <div class="title">
                            <span class="title-icon">在线播放</span>
                            <p>
                                <span style="color:#00B384;font-size: 12px;font-family: '微软雅黑';">
                                此处支持在线播放，若不能播放请下载后观看或者点击
                                <a href="javascript:;" onclick="fk('y1')" style="color:red;">失效一键反馈</a>
                                </span>
                            </p>
                        </div>
                        <div class="ndownlist">
                            <ul>
                                <?php if($src!=null): ?>
                                    <div class="player">
                                        <div class="content">
                                            <iframe src="<?php echo url('xl/pc'); ?>" height="100%" width="100%" frameborder="0" scrolling="no"></iframe>
                                        </div>
                                    </div>
                                <?php endif; ?>
                                <div class="mad-box-form">
                                    <?php if(is_array($resListFlh) || $resListFlh instanceof \think\Collection || $resListFlh instanceof \think\Paginator): $i = 0; $__LIST__ = $resListFlh;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$li): $mod = ($i % 2 );++$i;?>
                                        <a class="mad-a" href="javascript:;" data="<?php echo $li['link']; ?>" id="mad<?php echo $li['episodes']; ?>" j="<?php echo $li['episodes']; ?>" onclick="Flh(this)"><?php echo $li['episodes']; ?>集</a>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                </div>
                            </ul>
                        </div>
                    </div>
                <?php endif; ?>
                <!--在线播放 END-->
            </div>
            <div style="width: 100%;height: 20px;overflow: hidden;background:#F2F2F2;"></div>
            <!--下载地址-->
            <?php if(count($resListHttp)!=0 ||count($resListOther)!=0 ||count($resListThunder)!=0 || count($resListEd2k)!=0): ?>
                <div class="mox">
                    <a id="down"></a>
                    <!--下载地址1-->
                    <?php if(count($resListEd2k)!=0): ?>
                        <div class="title">
                            <span class="title-icon">下载地址1</span>
                            <p>
                                <span style="color:#00B384;font-size: 12px;font-family: '微软雅黑';">
                                    此处支持迅雷、QQ旋风、小米路由下载，同时支持迅雷影音播放，若不能下载请点击
                                    <a href="javascript:;" onclick="fk('x1')" style="color:red;">失效一键反馈</a>
                                </span>
                            </p>
                        </div>

                        <div class="ndownlist">
                            <script>
                                    var GvodUrls = "<?php echo $resListEd2k[0]->link; ?>";
                            </script>
                            <?php if(count($resListEd2k)!=0): ?>
                                <script src="public/static/js/download/xunlei.js"></script>
                                <script src="public/static/js/download/check.js"></script>
                                <script src="public/static/js/download/function1.js"></script>
                                <script src="public/static/js/download/function2.js"></script>
                                <ul>
                                    <script>
                                        var mvName = "";
                                        var j = 0;
                                        var xmhref;
                                        for (var i = 0; i < GvodUrlLen; i++) {
                                            mvName = get_movie_name(GvodUrlArray[i], '/');
                                            j++;
                                            if (j == 1) {
                                                uclass = "class=post2";
                                                j = -1;
                                            } else {
                                                uclass = "";
                                            }
                                            xmhref = "https://d.miwifi.com/d2r/?url=" + Base64.encodeURI(ThunderEncode(GvodUrlArray[i])) + "&src=xunbo";
                                            document.writeln('<li><i><input type="checkbox" value="' + GvodUrlArray[i] + '" name="CopyAddr1" /></i><p><a oncontextmenu=ThunderNetwork_SetHref_b(this) onclick="return xunbotask(this)" href="javascript:void(0)" thunderResTitle="" thunderType="" thunderPid="20369" thunderHref="' + ThunderEncode(GvodUrlArray[i]) + '" >' + getSubstr(GvodUrlArray[i]) + '</a></p><span><a class=d5 href="' + ThunderEncode(GvodUrlArray[i]) + '" target=_blank title="迅雷高速下载">迅雷</a><a class=d1 href="javascript:video(0);" onclick="start(\'' + GvodUrlArray[i] + '\')" title="迅雷影音播放">看看</a><a class=d2 href="http://lixian.vip.xunlei.com/lixian_login.html?referfrom=union&ucid=20369&furl=' + encodeURIComponent(ThunderEncode(GvodUrlArray[i])) + '" target=_blank title="迅雷离线下载">离线</a><a href="###" qhref="' + GvodUrlArray[i] + '" onclick="XFLIB.startDownload(this,event,21590)" oncontextmenu = "OnContextClick(this, event)" class=d3 title="QQ旋风下载">旋风</a><a href="' + xmhref + '" target=_blank class=d4 title="小米路由下载">小米</a></span></li>');
                                        }
                                    </script>
                                </ul>
                            <?php endif; ?>
                        </div>
                    <?php endif; ?>
                    <!--下载地址1-->

                    <!--下载地址2-->
                    <?php if(count($resListHttp)!=0||count($resListOther)!=0||count($resListThunder)!=0): ?>
                            <div class="title">
                                <span class="title-icon">下载地址2</span>
                                <p>
                                    <span style="color:#00B384;font-size: 12px;font-family: '微软雅黑';">
                                        此处支持本地下载、迅雷下载，若不能下载请点击
                                        <a href="javascript:;" onclick="fk('x2')" style="color:red;">失效一键反馈</a>
                                    </span>
                                </p>
                            </div>
                            <div class="ndownlist">
                                <ul class="thunder">
                                    <?php if(is_array($resListHttp) || $resListHttp instanceof \think\Collection || $resListHttp instanceof \think\Paginator): $i = 0; $__LIST__ = $resListHttp;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$relist): $mod = ($i % 2 );++$i;?>
                                        <li>
                                            <i><input type="checkbox" value="<?php echo $relist['id']; ?>" name="CopyAddr1"/></i>
                                            <p style="width:700px;height: auto;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"><?php echo $relist['name']; ?></p>
                                            <a href="<?php echo $relist['link']; ?>" style="float: right" class="btn">下载</a>
                                        </li>
                                    <?php endforeach; endif; else: echo "" ;endif; if(is_array($resListThunder) || $resListThunder instanceof \think\Collection || $resListThunder instanceof \think\Paginator): $i = 0; $__LIST__ = $resListThunder;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$relist): $mod = ($i % 2 );++$i;?>
                                        <li>
                                            <i><input type="checkbox" value="<?php echo $relist['id']; ?>" name="CopyAddr1"/></i>
                                            <p style="width:700px;height: auto;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"><?php echo $relist['name']; ?></p>
                                            <a href="<?php echo $relist['link']; ?>" style="float: right" class="btn">下载</a>
                                        </li>
                                    <?php endforeach; endif; else: echo "" ;endif; if(is_array($resListOther) || $resListOther instanceof \think\Collection || $resListOther instanceof \think\Paginator): $i = 0; $__LIST__ = $resListOther;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$relist): $mod = ($i % 2 );++$i;?>
                                    <li>
                                        <i><input type="checkbox" value="<?php echo $relist['id']; ?>" name="CopyAddr1"/></i>
                                        <p style="width:700px;height: auto;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;"><?php echo $relist['name']; ?></p>
                                        <a href="<?php echo $relist['link']; ?>" style="float: right" class="btn">下载</a>
                                    </li>
                                    <?php endforeach; endif; else: echo "" ;endif; ?>
                                </ul>
                            </div>
                    <?php endif; ?>
                    <!--下载地址2-->
                </div>
            <?php endif; ?>

            <div class="mox juqing">
                <a name="desc"></a>
                <div class="title"><span>剧情介绍</span></div>
                <div class="endtext">
                    <?php echo $film['plot']; ?>
                </div>
            </div>

            <div class="cr"></div>
            <div style="width: 97%;height: auto;overflow:hidden;margin: 10px auto;">
                <!--畅言-->
                <a id="p1"></a>
                <div id="SOHUCS" sid="film<?php echo $film['id']; ?>"></div>
                <script type="text/javascript">
                    (function () {
                        var appid = 'cysEMKRat';
                        var conf = 'prod_1997f817c9e4aa13f7b57d8c6af800b6';
                        var width = window.innerWidth || document.documentElement.clientWidth;
                        if (width < 960) {
                            window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="http://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>');
                        } else {
                            var loadJs = function (d, a) {
                                var c = document.getElementsByTagName("head")[0] || document.head || document.documentElement;
                                var b = document.createElement("script");
                                b.setAttribute("type", "text/javascript");
                                b.setAttribute("charset", "UTF-8");
                                b.setAttribute("src", d);
                                if (typeof a === "function") {
                                    if (window.attachEvent) {
                                        b.onreadystatechange = function () {
                                            var e = b.readyState;
                                            if (e === "loaded" || e === "complete") {
                                                b.onreadystatechange = null;
                                                a()
                                            }
                                        }
                                    } else {
                                        b.onload = a
                                    }
                                }
                                c.appendChild(b)
                            };
                            loadJs("http://changyan.sohu.com/upload/changyan.js", function () {
                                window.changyan.api.config({appid: appid, conf: conf})
                            });
                        }
                    })();
                </script>
                <!--畅言-->
            </div>
        </div>
    </div>

    <!--引入底部html文件 -->
    <div id="footer"><p>免责声明:如果侵犯了你的权益，请发邮件至：lovsvol@163.com，我们会及时删除侵权内容，谢谢合作！</p>
    <p>Copyright © <?php echo NOW_YEAR; ?> 蜀ICP备16028726号 lovsvol.top All Rights Reserved.
        <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1260680907'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1260680907%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
    </p>
</div>
<script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>
    <!--评分插件-->
    <script type="text/javascript">
        var l = location.href;
        if (l.indexOf("&j=") != -1) {
            var js = l.substring(l.indexOf("&j="), l.indexOf("#kan")).split("=")[1];
            $("#mad" + js).css({"background": "#517FAF", "border": "1px solid #517FAF", "color": "#fff"});
        } else if (l.indexOf("&j1=") != -1) {
            var js = l.substring(l.indexOf("&j1="), l.indexOf("#kan")).split("=")[1];
            $("#flh" + js).css({"background": "#517FAF", "border": "1px solid #517FAF", "color": "#fff"});
        }

        /*在线播放*/
        function Flh(e) {
            var f = $(e).attr("data");
            var j = $(e).attr("j");
            if (f != "") {
                var  url = window.prourl+"/index/xl/detail/film_id/"+window.filmId+"/src/" + Base64.encodeURI(f) + "/j/" + j + "#kan";
                location.href = url;
            }
        }
        /*在线播放*/


        $('#star').raty({
            hints: ['很烂', '很烂', '一般', '一般', '不妨一看', '不妨一看', '比较精彩', '比较精彩', '棒极了', '棒极了'],
            number: 10,
            path: "public/static/img/star",
            size: 24,
            starOff: 'star-off-big.png',
            starOn: 'star-on-big.png',
            precision: true,
            score: function () {
                return $(this).attr('data-score');
            },
            click: function (score, evt) {

                /*获取是否存在cookie评分值*/
                if (getCookie("raty<?php echo $film['id']; ?>") == null) {
                    /**
                     * 未评分
                     */
                    saveRaty("<?php echo $film['id']; ?>", score);
                } else {
                    alert("你已经评过分了，你的评分" + getCookie("raty<?php echo $film['id']; ?>") + "分");
                    location.reload();
                }

            }
        });

        function saveRaty(film_id, score) {
            $.ajax({
                url: "<?php echo url('xl/addRaty'); ?>",
                type: "post",
                dataType: "json",
                data: "film_id=" + film_id + "&score=" + score,
                success: function (data) {
                    debugger;
                    if (data== '1') {
                        alert("评分成功,你的评分" + score + "分");
                        setCookie("raty<?php echo $film['id']; ?>", score);
                    } else {
                        alert("评分失败,请稍后重试！");
                    }
                    location.reload();
                }
            });
        }

        /*失效一键反馈*/
        function fk(e) {
            /*获取是否存在cookie评分值*/
            if (getCookie(e+"<?php echo $film['id']; ?>") == null) {
                /**
                 * 未评分
                 */
                var title = "";
                var content = "";
                switch (e) {
                    case "y1":
                        title = "在线点播1失效反馈";
                        content = "胖哥温馨提示：你好，有一位本网站忠实粉丝惊奇的发现<?php echo $film['cataLogName']; ?>-<?php echo $film['subClassName']; ?>-<?php echo $film['typeName']; ?>-<span  style='color:#00AFE4;'>[<?php echo $film['name']; ?>]</span>的在线点播1已失效，请前往<a href='"+window.prourl+"xl/detail.html?film_id=<?php echo $film['id']; ?>'>查看</a>是否失效，若失效请去<a href='"+window.prourl+"film.html?film_id=<?php echo $film['id']; ?>'>更改</a>";
                        break;
                    case "y2":
                        title = "在线点播2失效反馈";
                        content = "胖哥温馨提示：你好，有一位本网站忠实粉丝惊奇的发现<?php echo $film['cataLogName']; ?>-<?php echo $film['subClassName']; ?>-<?php echo $film['typeName']; ?>-<span  style='color:#00AFE4;'>[<?php echo $film['name']; ?>]</span>的在线点播2已失效，请前往<a href='"+window.prourl+"xl/detail.html?film_id=<?php echo $film['id']; ?>'>查看</a>是否失效，若失效请去<a href='"+window.prourl+"film.html?film_id=<?php echo $film['id']; ?>'>更改</a>";
                        break;
                    case "x1":
                        title = "下载地址1失效反馈";
                        content = "胖哥温馨提示：你好，有一位本网站忠实粉丝惊奇的发现<?php echo $film['cataLogName']; ?>-<?php echo $film['subClassName']; ?>-<?php echo $film['typeName']; ?>-<span  style='color:#00AFE4;'>[<?php echo $film['name']; ?>]</span>的下载地址1已失效，请前往<a href='"+window.prourl+"xl/detail.html?film_id=<?php echo $film['id']; ?>'>查看</a>是否失效，若失效请去<a href='"+window.prourl+"film.html?film_id=<?php echo $film['id']; ?>'>更改</a>";
                        break;
                    case "x2":
                        title = "下载地址2失效反馈";
                        content = "胖哥温馨提示：你好，有一位本网站忠实粉丝惊奇的发现<?php echo $film['cataLogName']; ?>-<?php echo $film['subClassName']; ?>-<?php echo $film['typeName']; ?>-<span  style='color:#00AFE4;'>[<?php echo $film['name']; ?>]</span>的下载地址2已失效，请前往<a href='"+window.prourl+"xl/detail.html?film_id=<?php echo $film['id']; ?>'>查看</a>是否失效，若失效请去<a href='"+window.prourl+"film.html?film_id=<?php echo $film['id']; ?>'>更改</a>";
                        break;
                    default:
                        alert("参数错误");
                        break;
                }
                if(title!=""&&content!=""){
                    $.ajax({
                        url: "sendEmail.html",
                        type: "post",
                        dataType: "json",
                        data: "title=" + title + "&content=" + content,
                        success: function (data) {
                            if (JSON.parse(data).code == '1') {
                                alert("反馈成功，我们会尽快处理");
                                setCookie(e+"<?php echo $film['id']; ?>", e);
                            } else {
                                alert("反馈失败,请稍后重试！");
                            }
                        }
                    });
                }
            } else {
                alert("你已经反馈过了，谢谢你的支持");
            }
        }

        /*对cookie的操作*/
        var username = document.cookie.split(";")[0].split("=")[1];
        //JS操作cookies方法!
        //写cookies
        function setCookie(name, value) {
            var Days = 30;
            var exp = new Date();
            exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
            document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
        }

        /*读取cookies*/
        function getCookie(name) {
            var arr, reg = new RegExp("(^| )" + name + "=([^;]*)(;|$)");
            if (arr = document.cookie.match(reg))
                return unescape(arr[2]);
            else
                return null;
        }

        /*删除cookie*/
        function delCookie(name) {
            var exp = new Date();
            exp.setTime(exp.getTime() - 1);
            var cval = getCookie(name);
            if (cval != null){
                document.cookie = name + "=" + cval + ";expires=" + exp.toGMTString();
            }
        }
    </script>

</body>
</html>